<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no" />
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        .wrap {
            box-sizing: border-box;
            font-size: 20px;
            width: 400px;
            height: 120px;
            padding: 15px;
            border-radius: 20px;
            color: #ffffff;
            background: rgba(0, 0, 0, 0.2);
            overflow: hidden;


        }

        .wrap .tit {
            display: inline-block;
            opacity: 0.8;
            width: 90px;
            flex-shrink: 0;
        }

        .ellips {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;

        }

        .flex {
            display: flex !important;
            flex-direction: row;
        }

        .muti-ellips {
            text-overflow: -o-ellipsis-lastline;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
        }
    </style>
    <title></title>
</head>

<body>


    <div class="wrap">
        <div class="flex">
            <span class="tit">開始下標</span>
            <span class="start ellips">智利鮭魚一組2片智利鮭魚智利鮭魚一組2片智利鮭魚</span>
        </div>
        <div class="flex">
            <span class="tit">关键字</span>
            <span class="key ellips">鮭魚</span>
        </div>
        <div class="flex">
            <span class="tit">金额</span>
            <span id="price" class="price">$350</span>
        </div>
    </div>
    </div>
    <script>
        var price = document.getElementById('price');
        var n = Math.round(Math.random() * 100) + 100;
        price.innerHTML = '$' + n

        function refresh() {

            window.location.reload();
        }
        setInterval('refresh()', 5000);
    </script>
</body>

</html>